package com.example.demo.service;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.demo.constants.pojo.UserInfo;
import com.example.demo.constants.pojo.UserRoleResultMap;
import com.example.demo.entity.UserEntity;

public interface IUserService {
	
     UserInfo QueryUserInfoByUserName(String userName);
     
     IPage<Map<String, Object>> QueryUserList(Map<String, Object> params);
     
     IPage<UserEntity> QueryUserList(int current,int size,QueryWrapper<UserEntity> wrapper);
     
     List<Map<String, Object>> QueryUserList(Page<Map<String,Object>> page,Map<String, Object> params);
     
     IPage<UserRoleResultMap> QueryUserRoleList(Map<String,Object> params);
     
     IPage<Map<String, Object>> QueryUserRoleListMap(Map<String,Object> params);
     
}
